home *** CD-ROM | disk | FTP | other *** search
- /****************************************************************************\
- * *
- * Program Name: EasyTutor Learn - Windows 95 *
- * *
- * Copyright: (c) CRT Multimedia 1994/1995 *
- * *
- * Module Name: APPMSG.H *
- * *
- * Module Description: User definined message definitions and disp. *
- * object message definitions for the whole *
- * application. *
- * *
- * Creation Date: 19/02/95 *
- * *
- * Developer Names: Martin Packer *
- * Duncan Lowe *
- * Peter Lux *
- * Mateo Solares *
- * *
- \****************************************************************************/
-
-
- /***************************************************************************\
- * User defined messages *
- \***************************************************************************/
- #define UDM_MODULE_MENU_ANIMATE_BUTTON (WM_USER + 5)
-
-
-
- /***************************************************************************\
- * Screen handling messages for root display object *
- \***************************************************************************/
-
- // destroys the current screen and creates a new one
- #define DO_SCREEN_DESTROY_AND_GOTO 1
-
- // hides the current screen and creates a new one
- #define DO_SCREEN_HIDE_AND_GOTO 2
-
- // destroys all but the current screen
- #define DO_SCREEN_DESTROY_NOT_CURRENT 3
-
- // informs the root object that we're entering the concept half of the app
- #define DO_SCREEN_ENTERING_CONCEPT 4
-
- // informs the root object that we're entering the how-to half of the app
- #define DO_SCREEN_ENTERING_HOWTO 5
-
- // destroys the current screen and goes to either the first concept page
- // or the how-to screen for the given topic, depending on which half of
- // the program we're in (goes to concept if we're not in either).
- #define DO_SCREEN_GOTO_TOPIC 6
-
- // informs the root display object which detail is selected
- #define DO_SCREEN_CURRENT_TOPIC 7
-
- // informs the root display object which detail is selected
- #define DO_SCREEN_CURRENT_DETAIL 8
-
- // skips from the how-to section to the appropriate part of the concept section
- #define DO_SCREEN_SKIP_TO_CONCEPT 9
-
- // skips from the concept section to the appropriate part of the how-to section
- #define DO_SCREEN_SKIP_TO_HOWTO 10
-
- // goes to a concept page within the curent topic
- #define DO_SCREEN_GOTO_CONCEPT_PAGE 11
-
- // pages to the next concept page within the curent topic
- #define DO_SCREEN_NEXT_CONCEPT_PAGE 12
-
- // pages to the previous concept page within the curent topic
- #define DO_SCREEN_PREVIOUS_CONCEPT_PAGE 13
-
- // informs the root display object that the current detail has been viewed
- #define DO_SCREEN_DETAIL_VIEWED 14
-
- // sends a message to the current screen
- #define DO_SCREEN_SEND_TO_CURRENT 15
-
- // opens a popup screen over the current screen
- #define DO_SCREEN_OPEN_POPUP 16
-
- // closes any popup screen over the current screen
- #define DO_SCREEN_CLOSE_POPUP 17
-
- // 20-Feb-1995 : PJL : added for the what next button - find an untried detail
- // which is in the profile and then SKIP to it
- #define DO_SCREEN_WHAT_NEXT 18
-
- // causes the glossary help screen to be loaded or brought to the front.
- #define DO_SCREEN_LOAD_GLOSSARY 19
-
- /***************************************************************************\
- * Hotspot window messages *
- \***************************************************************************/
-
- // sent by a hotspot window when the mouse moves over it
- #define DO_HOTSPOT_MOUSEMOVE 101
-
- // sent by a hotspot window when the left button is pressed
- #define DO_HOTSPOT_LBUTTONDOWN 102
-
- // sent by a hotspot window when the left button is released
- #define DO_HOTSPOT_LBUTTONUP 103
-
- /***************************************************************************\
- * MCI object messages *
- \***************************************************************************/
-
- // MCI notification messages
- #define DO_MCI_NOTIFY_ABORTED 201
- #define DO_MCI_NOTIFY_SUCCESSFUL 202
- #define DO_MCI_NOTIFY_SUPERSEDED 203
- #define DO_MCI_NOTIFY_FAILURE 204
-
- // MCI command messages
- #define DO_MCI_STOP 205
- #define DO_MCI_PAUSE 206
- #define DO_MCI_RESUME 207
- #define DO_MCI_SEEK 208
- #define DO_MCI_PLAY 209
-
- // other MCI targetted messages
- #define DO_MCI_DESTROY 210
- #define DO_MCI_HIDE 211
- #define DO_MCI_SHOW 212
- #define DO_MCI_HIDE_ON_SUCCESS 213
- #define DO_MCI_SHOW_PLAY_HIDE 214
-
- /***************************************************************************\
- * Graphic Item Display Objectw messages *
- \***************************************************************************/
-
- #define DO_ADD_ITEM 300
- #define DO_REMOVE_ITEM 301
- #define DO_INVALIDATE_ITEM 302
- #define DO_SHOW_ITEM 303
-
- /***************************************************************************\
- * CXHowTo *
- \***************************************************************************/
-
- // 19-Oct-1994 : PJL :
- // a new detail has been selected
- #define DO_NEW_DETAIL 400
- #define DO_RUN_DEMO 401
- #define DO_WIN95_POPUP 402
- #define DO_WIN31_POPUP 403
- #define DO_RUN_TRYIT 404
-
- /***************************************************************************\
- * Try it and Demo screens *
- \***************************************************************************/
-
- // sequencing of events
- #define DOW_EVENT_DONE 500
- #define DOW_MOUSE_TIMER_CLICK 501
- #define DOW_PAUSE_TIMER_CLICK 502
- #define WM_EVENT_DONE 503
- #define DO_EVENT_DONE 504
- #define DO_HOTSPOT_RBUTTON_DOWN 505
- #define DO_HOTSPOT_RBUTTON_UP 506
- #define DO_HOTSPOT_LBUTTON_DBLCLK 507
- #define DO_DEMO_MOUSE_MOVE 508
- #define DO_DEMO_CHAR 509
- #define DO_DEMO_PAINT 510
- #define DOW_ARROW_TIMER_CLICK 511
- #define DO_DEMO_COMPLETE 512
- #define DOW_DOUBLE_TIMER_CLICK 513
- #define DOW_LCLICK_TIMER_CLICK 514
- #define DOW_RCLICK_TIMER_CLICK 515
- #define DOW_CHAR_TIMER_CLICK 516
- #define DOW_KEY_TIMER_CLICK 517
-
- /***************************************************************************\
- * Profile popup messages *
- \***************************************************************************/
-
- #define DO_PROFILE_RESET 600
-
- /***************************************************************************\
- * Question popup messages *
- \***************************************************************************/
-
- #define DO_QUESTION_CHOOSE 700
- #define DO_QUESTION_ANSWER_CHOSEN 701
- #define DOW_QUESTION_TIME_UP 702
-
-
- /***************************************************************************\
- * Module menu messages *
- \***************************************************************************/
-
- #define DO_MODULE_MENU_SECTION_SELECTED 800
-
- /***************************************************************************\
- * Messages for video window that passes mouse clicks back to parent. *
- \***************************************************************************/
-
- #define DOW_LMOUSEBUTTONDOWN 900
- #define DO_MOUSECLICKEDOVERVIDEO 901 // passed back to parent
-
- /***************************************************************************\
- * Opening screen messages *
- \***************************************************************************/
-
- #define DOW_OPENING_LBUTTONDOWN 1000
-
- /***************************************************************************\
- * Main menu messages *
- \***************************************************************************/
-
- #define DO_MAIN_MENU_START_INTRODUCTION 1100
-
- /***************************************************************************\
- * Video Control messages *
- \***************************************************************************/
-
- #define DO_VIDEO_CONTROLS_TOSTART 1200
- #define DO_VIDEO_CONTROLS_PLAY 1201
- #define DO_VIDEO_CONTROLS_PAUSE 1202
- #define DO_VIDEO_CONTROLS_TOEND 1203